config: don't hardcode toolchain binaries
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 25 Jun 2019 13:39:44 +0000 (15:39 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 25 Jun 2019 14:46:54 +0000 (15:46 +0100)
commitb41666f2c17f01c437c870389ab713ee62ae3526
tree4b3dbef3d36f140ca602c4d37d3b7800d2e45d45
parent85fd4f7a09d8aaa783932b8c15b80ddaff0a174d
config: don't hardcode toolchain binaries

Currently the names of the build toolchain binaries are hardcoded in
StdGNU.mk, and the values from the environment are ignored.

Switch StdGNU.mk to use '?=' instead of '=', so that values from the
environment are used if present, else default to the values provided
by the config file.

This change fixes the gitlab CI loop, that was relying on passing
custom values in the environment variables for the compiler and the
linker.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
config/StdGNU.mk